package com.blog.model;

import lombok.Data;

import java.util.List;

/**
 * @author jiafujun
 * 2020-06-11 10:32:28
 **/
@Data
public class ArticleInfo {
    /**
     * 文章详情
     */
    private ArticleUser articleUser;
    /**
     * 推荐文章
     */
    private List<ArticleUser> other;
    /**
     * 评论列表
     */
    private List<DiscussInfo> discusses;

    public ArticleInfo(){}

    public ArticleInfo(ArticleUser articleUser, List<ArticleUser> other, List<DiscussInfo> discusses) {
        this.articleUser = articleUser;
        this.other = other;
        this.discusses = discusses;
    }
}
